package io.renren.service;

import io.renren.entity.BusinessTravelEntity;

import java.util.List;
import java.util.Map;

/**
 * 出差
 * 
 * @author zhangheng
 * @email zh_123shmily@163.com
 * @date 2017-07-29 15:58:30
 */
public interface BusinessTravelService {
	
	BusinessTravelEntity queryObject(Integer id);
	
	List<BusinessTravelEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(BusinessTravelEntity businessTravel);
	
	void update(BusinessTravelEntity businessTravel);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	String submit(BusinessTravelEntity leave);

	void process(BusinessTravelEntity leave);

	void reject(BusinessTravelEntity leave);
}
